package com.kedou.sdk.params;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017/6/9 0009.
 */

public class GetUuidResponseParams extends ResponseParams<GetUuidResponseParams.UuidResponseData> {

    public static class UuidResponseData implements Parcelable {

        private String uuid;

        public UuidResponseData() {
        }

        protected UuidResponseData(Parcel in) {
            uuid = in.readString();
        }

        public static final Creator<UuidResponseData> CREATOR = new Creator<UuidResponseData>() {
            @Override
            public UuidResponseData createFromParcel(Parcel in) {
                return new UuidResponseData(in);
            }

            @Override
            public UuidResponseData[] newArray(int size) {
                return new UuidResponseData[size];
            }
        };

        public String getUuid() {
            return uuid;
        }

        public void setUuid(String uuid) {
            this.uuid = uuid;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(uuid);
        }
    }

}
